package com.click.app.service;

import com.click.app.model.Product;
import com.click.app.model.EntryProductDetail;
import java.util.Date;
import java.util.List;

/**
 * @author Joel Chuca Condo
 * @date 04/05/2009
 */
public interface EntryProductDetailManager extends GenericManager<EntryProductDetail, Long>{
    List<EntryProductDetail> findByProduct(Product product);
    List<EntryProductDetail> findByProduct(Long id);
    List<EntryProductDetail> findByProductPeriod(Product product, Date initDate, Date endDate);
    List<EntryProductDetail> findByProductPeriod(Long id, Date initDate, Date endDate);
    List<Product> findAllNoPackageDetail();
    List<EntryProductDetail> findByProductStockNoCero(Long id);

} 
